"""FCN训练脚本 - 复用训练逻辑"""
import os, sys
sys.path.append(os.path.join(os.path.dirname(__file__), '../..'))
exec(open(os.path.join(os.path.dirname(__file__), '..', 'unet', 'train.py')).read().replace('from baselines.unet', 'from baselines.fcn').replace("'unet'", "'fcn'").replace('UNet', 'FCN').replace('logs/fcn', 'logs/fcn').replace('checkpoints/fcn', 'checkpoints/fcn'))
